package com.sky.dto;

import lombok.Data;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.io.Serializable;


@Data
@ConfigurationProperties(prefix = "minio")
public class MinioProperties implements Serializable {
    // 移除@Value注解，使用ConfigurationProperties自动绑定
    private String endpoint;
    private String accessKey;
    private String secretKey;
    private String bucketName;
}
